#!/usr/bin/python3
#-*- coding: UTF-8 -*-

import socket

s=socket.socket()
#host=socket.gethostname()
host='127.0.0.1'
port=8899
s.bind((host,port))
s.listen(5)

while True:
    c,addr = s.accept()
    print("client addr=",addr)
    c.send(b'wecomle to python server')
    c.close()